
from django.shortcuts import render
from rest_framework.viewsets import ModelViewSet

from .models import Brand
from .serializers import Brand_GoodsSer
# Create your views here.
class Brand_GoodsView(ModelViewSet):
    queryset = Brand.objects.all()
    serializer_class = Brand_GoodsSer
    lookup_field = "id"
    lookup_url_kwarg = 'id'


